package com.stadium.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;
import java.util.Date;

/**
 * 人员关注分类和区域关系表
 *
 * @author wsl
 * @email
 * @date 2021-05-12 09:56:02
 */
@Data
@ApiModel(value = "人员关注分类和区域关系表")
public class RUserCategoryArea implements Serializable {
    private static final long serialVersionUID = 1L;

    @Length(min = 0, max = 36)
    @ApiModelProperty(value = "id")
    private String id;

    @Length(min = 0, max = 36)
    @ApiModelProperty(value = "球员id")
    private String userId;

    @Length(min = 0, max = 500)
    @ApiModelProperty(value = "分类id（多个，分割）")
    private String categoryId;

    @Length(min = 0, max = 36)
    @ApiModelProperty(value = "区域")
    private String area;

    @Length(min = 0, max = 10)
    @ApiModelProperty(value = "状态码（0：正常，1：异常）")
    private String statusCode;

    @Length(min = 0, max = 10)
    @ApiModelProperty(value = "删除码（0：正常 1：删除）")
    private String deleteCode;

    @Length(min = 0, max = 255)
    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String updateUser;

}
